[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-19 Thread Hans Hagen
On 1/19/2024 7:13 PM, Bruce Horrocks wrote: On 19 Jan 2024, at 09:31, Hans Hagen wrote: On 1/18/2024 11:15 PM, Bruce Horrocks wrote: On 18 Jan 2024, at 18:56, Shiv Shankar Dayal wrote: I understand that why it is slow, but the problem is that the difference is too high. My book has

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-19 Thread Bruce Horrocks
> On 19 Jan 2024, at 09:31, Hans Hagen wrote: > > On 1/18/2024 11:15 PM, Bruce Horrocks wrote: >> On 18 Jan 2024, at 18:56, Shiv Shankar Dayal >> wrote: >>> >>> I understand that why it is slow, but the problem is that the difference is >>> too high. >>> My book has lots of math, so

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-19 Thread Hans Hagen
On 1/19/2024 11:00 AM, Henning Hraban Ramm wrote: Am 19.01.24 um 10:31 schrieb Hans Hagen: (that said: luametatex runs fine on my mobile phone) What’s the smallest/oldest device someone tried LMTX on? (We were joking about “Hans’ thermostate and Alan’s fridge“…) Would it run on some 8 bit

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-19 Thread Taco Hoekwater
> On 19 Jan 2024, at 11:00, Henning Hraban Ramm wrote: > > Am 19.01.24 um 10:31 schrieb Hans Hagen: >> (that said: luametatex runs fine on my mobile phone) > > What’s the smallest/oldest device someone tried LMTX on? > (We were joking about “Hans’ thermostate and

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-19 Thread Henning Hraban Ramm
Am 19.01.24 um 10:31 schrieb Hans Hagen: (that said: luametatex runs fine on my mobile phone) What’s the smallest/oldest device someone tried LMTX on? (We were joking about “Hans’ thermostate and Alan’s fridge“…) Would it run on some 8 bit homecomputer? (I’d guess the RAM is too limited

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-19 Thread Hans Hagen
because the ages of dohbling performance every year are past. There are several factors that impact performance: tex engine : quite a bit faster in luametatex mp engine : quite a bit faster in luametatex lua engine : not much we can do about but inefficient macros and usage can offset any gain

[NTG-context] Re: LuaMetaTeX code

2024-01-19 Thread Henri Menke via ntg-context
On Fri, 2024-01-19 at 13:56 +0530, Shiv Shankar Dayal wrote: > Dear Hans, > > I saw the C code of LuaMetaTeX and I saw a lot of gotos which is not > good > coding practice. These potions of code which have goto should be > refactored. https://xkcd.com/292/ > I am a C progra

[NTG-context] Re: LuaMetaTeX code

2024-01-19 Thread Hans Hagen
On 1/19/2024 9:31 AM, Shiv Shankar Dayal wrote: I see code like # define luametatex_version          210 # define luametatex_revision         10 # define luametatex_release          10 # define luametatex_version_string   "2.10.10" starting with C99 these become unnecessary. Rather they should

[NTG-context] Re: LuaMetaTeX code

2024-01-19 Thread Hans Hagen
On 1/19/2024 9:26 AM, Shiv Shankar Dayal wrote: Dear Hans, I saw the C code of LuaMetaTeX and I saw a lot of gotos which is not good coding practice. These potions of code which have goto should be refactored. I am a C programmer, but I know very little of TeX. If you can point me towards

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-19 Thread Hans Hagen
On 1/19/2024 1:33 AM, Aditya Mahajan wrote: \starttext \dorecurse{5000}{\ReadFile{knuth}} \stoptext I'll send you the PDFs offlist. lmtx defaults to 'modern' so you need to \setupbodyfont[modern] for mkiv Hans -

[NTG-context] Re: LuaMetaTeX code

2024-01-19 Thread Shiv Shankar Dayal
uot;; > > > > These ensure type-safety in the code and are good coding practice. > > > > On Fri, Jan 19, 2024 at 1:56 PM Shiv Shankar Dayal < > shivshankar.da...@gmail.com> wrote: > > Dear Hans, > > > > I saw the C code of LuaMetaTeX and I saw a lot of

[NTG-context] Re: LuaMetaTeX code

2024-01-19 Thread Taco Hoekwater
rsion_string="2.10.10"; > > These ensure type-safety in the code and are good coding practice. > > On Fri, Jan 19, 2024 at 1:56 PM Shiv Shankar Dayal > wrote: > Dear Hans, > > I saw the C code of LuaMetaTeX and I saw a lot of gotos which is not good > coding

[NTG-context] Re: LuaMetaTeX code

2024-01-19 Thread Shiv Shankar Dayal
210; const char* luametatex_version_string="2.10.10"; These ensure type-safety in the code and are good coding practice. On Fri, Jan 19, 2024 at 1:56 PM Shiv Shankar Dayal < shivshankar.da...@gmail.com> wrote: > Dear Hans, > > I saw the C code of LuaMetaTeX and I saw a lot

[NTG-context] LuaMetaTeX code

2024-01-19 Thread Shiv Shankar Dayal
Dear Hans, I saw the C code of LuaMetaTeX and I saw a lot of gotos which is not good coding practice. These potions of code which have goto should be refactored. I am a C programmer, but I know very little of TeX. If you can point me towards where should I start for TeX(perhaps TeX Book or TeX

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-18 Thread Aditya Mahajan
On Fri, 19 Jan 2024, Hans Hagen via ntg-context wrote: > On 1/19/2024 12:34 AM, Aditya Mahajan wrote: > > On Thu, 18 Jan 2024, Hans Hagen wrote: > > > >> Of course we'll never be as fast as (pure) plain tex (no layers added) or > >> latex (which often is advocated as faster than context). > > >

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-18 Thread Hans Hagen via ntg-context
On 1/19/2024 12:34 AM, Aditya Mahajan wrote: On Thu, 18 Jan 2024, Hans Hagen wrote: Of course we'll never be as fast as (pure) plain tex (no layers added) or latex (which often is advocated as faster than context). I was curious, so did a quick experiment: typeset \input knuth 500 times.

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-18 Thread Aditya Mahajan
On Thu, 18 Jan 2024, Hans Hagen wrote: > Of course we'll never be as fast as (pure) plain tex (no layers added) or > latex (which often is advocated as faster than context). I was curious, so did a quick experiment: typeset \input knuth 500 times. Here are the results: pdflatex: 547 pages/sec

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-18 Thread Bruce Horrocks
On 18 Jan 2024, at 18:56, Shiv Shankar Dayal wrote: > > I understand that why it is slow, but the problem is that the difference is > too high. > My book has lots of math, so perhaps that is the reason. Option 1: Buy or borrow a faster computer. You'll get your desired speed-up far faster

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-18 Thread Joseph Wright
On 18/01/2024 20:55, Gavin via ntg-context wrote: That’s fast enough for me. That's surely the key statement - 'fast' here is a personal thing, and 40 pages a second is fast enough for many people. It's certainly fast when you look at what LuaMetaTeX is doing, as Hans has said. Joseph

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-18 Thread Gavin via ntg-context
ok in almost an instant using PDFTeX which is about 450+ > pages but my math book takes around 30 seconds averaging ~40 pages/second. > > Why LuaMetaTeX is so slow? How can I speed it up? > -- > Re

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-18 Thread Hans Hagen
On 1/18/2024 7:56 PM, Shiv Shankar Dayal wrote: In comparison to LaTeX with LuaHBTeX, ConTeXt with LuaMetaTeX is lightning fast. pdfTeX is 8bit, and Knuth’s plain TeX is very low level – for a fairer comparison, try the TeXbook on LuaMetaTeX (I don’t know if “plain” works

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-18 Thread Mikael Sundqvist
Hi, On Thu, Jan 18, 2024 at 7:58 PM Shiv Shankar Dayal wrote: > > > > >> In comparison to LaTeX with LuaHBTeX, ConTeXt with LuaMetaTeX is >> lightning fast. >> >> pdfTeX is 8bit, and Knuth’s plain TeX is very low level – for a fairer >> comparison, t

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-18 Thread Shiv Shankar Dayal
In comparison to LaTeX with LuaHBTeX, ConTeXt with LuaMetaTeX is > lightning fast. > > pdfTeX is 8bit, and Knuth’s plain TeX is very low level – for a fairer > comparison, try the TeXbook on LuaMetaTeX (I don’t know if “plain” works > though). > I understand that why it is slo

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-18 Thread Henning Hraban Ramm
that “The TeXbook” (having been written by Knuth himself) may be optimized for speed. Your math book may use features (I’m guessing again) that require more resources than the features used by “The TeXbook”. Why LuaMetaTeX is so slow? How can I speed it up? https://www.pragma-ade.com/general

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-18 Thread Pablo Rodriguez via ntg-context
self) may be optimized for speed. Your math book may use features (I’m guessing again) that require more resources than the features used by “The TeXbook”. > Why LuaMetaTeX is so slow? How can I speed it up? https://www.pragma-ade.com/general/manuals/musings.pdf#page=96 might explain why

[NTG-context] Why LuaMetaTex is so slow?

2024-01-18 Thread Shiv Shankar Dayal
I can process TeXBook in almost an instant using PDFTeX which is about 450+ pages but my math book takes around 30 seconds averaging ~40 pages/second. Why LuaMetaTeX is so slow? How can I speed it up? -- Respect, Shiv Shankar Dayal

[NTG-context] Re: Building luametatex with Lua symbols exposed

2023-09-02 Thread Michal Vlasák
On Wed Aug 30, 2023 at 6:23 PM CEST, Jairo A. del Rio wrote: > Hi, beloved list. Since sources are in the distribution, I've tried > compiling luametatex by setting LMT_STRIP in CMakeLists.txt to 0, yet the > resulting binary still warns about undefined symbols, such as lua_getto

[NTG-context] Building luametatex with Lua symbols exposed

2023-08-30 Thread Jairo A. del Rio
Hi, beloved list. Since sources are in the distribution, I've tried compiling luametatex by setting LMT_STRIP in CMakeLists.txt to 0, yet the resulting binary still warns about undefined symbols, such as lua_gettop, when an external library is loaded in Lua. Any ideas on how to solve it? Thank you

[NTG-context] Problems with luametatex and texlive on OpenBSD

2023-07-27 Thread Edd Barrett
Hi everyone, I'm finalising packaging TeX Live 2023 for OpenBSD and have an issue with context using the new luametatex engine. I'm getting various Lua errors when running `context --make`, like: node-ini.lmt:54: attempt to call a nil value (local 'getvalues') and: node-nut.lmt:22

Re: [NTG-context] LuaMetaTeX doesn't find files when symlinked

2023-04-28 Thread lynx--- via ntg-context
h "context-linux- > 64/bin/mtxrun" suggests that that isn't a symlink. (Well, it is a > symlink mtxrun => ./luametatex, but that email is about multi-level > symlinks like /usr/bin/context => /usr/local/texlive/2023/bin/x86_64- > linux/context => ./luametatex) > >

Re: [NTG-context] LuaMetaTeX doesn't find files when symlinked

2023-04-28 Thread Max Chernoff via ntg-context
e/-/issues/30. This is probably not the same issue, since the path "context-linux- 64/bin/mtxrun" suggests that that isn't a symlink. (Well, it is a symlink mtxrun => ./luametatex, but that email is about multi-level symlinks like /usr/bin/context => /usr/local/texlive/2023/bin/x8

Re: [NTG-context] LuaMetaTeX doesn't find files when symlinked

2023-04-28 Thread lynx--- via ntg-context
of the default TeXlive installation process!). This is because my OLD "arara" command has the path to the March 13 version of TeXlive 2023 version (installed from ISO image, with some updates using tlmgr already installed). Lynx On 2023-04-27 21:00, Max Chernoff via ntg-context wrote: > Hi H

[NTG-context] LuaMetaTeX doesn't find files when symlinked

2023-04-27 Thread Max Chernoff via ntg-context
Hi Hans, With the LuaMetaTeX-based ConTeXt wrapper, it's not generally possible to run ConTeXt from a symlinked binary in another directory. This shows up if someone makes symlinks in "/usr/bin" so that they can avoid adding anything to their $PATH. If you make run a symlink to the

Re: [NTG-context] Description together with itemize, luametatex

2023-03-06 Thread Gerion Entrup via ntg-context
Am Montag, 6. März 2023, 14:34:28 CET schrieb Aditya Mahajan via ntg-context: > On Mon, 6 Mar 2023, Gerion Entrup via ntg-context wrote: > > > Hi, > > > > I'm trying to use a description environment in conjunction with an > > itemize with the latest luamet

Re: [NTG-context] Description together with itemize, luametatex

2023-03-06 Thread Aditya Mahajan via ntg-context
On Mon, 6 Mar 2023, Gerion Entrup via ntg-context wrote: > Hi, > > I'm trying to use a description environment in conjunction with an > itemize with the latest luametatex. Is this supposed to work? > > Here is an MWE: > ``` > \definedescription[desc][headstyle=bol

[NTG-context] Description together with itemize, luametatex

2023-03-06 Thread Gerion Entrup via ntg-context
Hi, I'm trying to use a description environment in conjunction with an itemize with the latest luametatex. Is this supposed to work? Here is an MWE: ``` \definedescription[desc][headstyle=bold] \starttext Foo \desc{Some title} Some text \startitemize \item Some item

Re: [NTG-context] how to simulate \hss in luametatex?

2022-11-11 Thread 黄复雄 via ntg-context
> > Hi, > > > >> I want to simulate \hss in lua end in ConTeXt/luametatex environment. > >> For example, > >> > >> ```ConTeXt > >> a{\raise 1.5ex\hbox to 0pt{\hss b}}c > >> ``` > > > >> And in lua, I do as follo

Re: [NTG-context] how to simulate \hss in luametatex?

2022-11-11 Thread 黄复雄 via ntg-context
relative. Best regards Huang Fusyong(黄复雄) Max Chernoff via ntg-context 于2022年11月11日周五 17:55写道: > > Hi, > > > I want to simulate \hss in lua end in ConTeXt/luametatex environment. > > For example, > > > > ```ConTeXt > > a{\raise 1.5ex\hbox to 0pt{\hss b}}c

Re: [NTG-context] how to simulate \hss in luametatex?

2022-11-11 Thread Hans Hagen via ntg-context
On 11/11/2022 10:53 AM, Max Chernoff via ntg-context wrote: Hi, I want to simulate \hss in lua end in ConTeXt/luametatex environment. For example, ```ConTeXt a{\raise 1.5ex\hbox to 0pt{\hss b}}c ``` And in lua, I do as follows(part of my app seen in attachment): Your code doesn't

Re: [NTG-context] how to simulate \hss in luametatex?

2022-11-11 Thread Max Chernoff via ntg-context
Hi, > I want to simulate \hss in lua end in ConTeXt/luametatex environment. > For example, > > ```ConTeXt > a{\raise 1.5ex\hbox to 0pt{\hss b}}c > ``` > And in lua, I do as follows(part of my app seen in attachment): Your code doesn't compile as is. I think that this is

[NTG-context] how to simulate \hss in luametatex?

2022-11-10 Thread 黄复雄 via ntg-context
Hi list, I want to simulate \hss in lua end in ConTeXt/luametatex environment. For example, ```ConTeXt a{\raise 1.5ex\hbox to 0pt{\hss b}}c ``` should get 'b' on top of 'a', as follows: ```pdf b ac ``` and in lua, I see a before "b" node, width width:0, stretch:65536, sh

Re: [NTG-context] node.setglue broken in LuaMetaTeX

2022-11-07 Thread Hans Hagen via ntg-context
On 11/7/2022 11:40 AM, Max Chernoff via ntg-context wrote: Hi Hans, Using node.setglue in LuaMetaTeX sets all of the glue components to zero. This example: \startluacode local stretch_order = "stretch_order" local shrink_order = &qu

[NTG-context] node.setglue broken in LuaMetaTeX

2022-11-07 Thread Max Chernoff via ntg-context
Hi Hans, Using node.setglue in LuaMetaTeX sets all of the glue components to zero. This example: \startluacode local stretch_order = "stretch_order" local shrink_order = "shrink_order" if status.luatex_engine == "luametatex" then

Re: [NTG-context] "true" units in LuaMetaTeX

2022-10-27 Thread Hans Hagen via ntg-context
related features (i'm not even sure if luametatex makes sense for other macro packages but we'll see, these things happens outside my scope anyway) Hans - Hans Hagen | PRAGMA ADE

Re: [NTG-context] "true" units in LuaMetaTeX

2022-10-27 Thread Max Chernoff via ntg-context
Hi Hans, > Anyway, I'll check it. Is anyone still using this "true" actually? I've been playing around with LuaMetaLaTeX/LuaMetaPlain recently https://github.com/zauguin/luametalatex and plain.tex uses truein for typesetting the footnote rule. It's trivial to fix that specific case, but

Re: [NTG-context] "true" units in LuaMetaTeX

2022-10-27 Thread Hans Hagen via ntg-context
On 10/27/2022 8:11 AM, Max Chernoff via ntg-context wrote: Hi Hans, The unit scanner in LuaMetaTeX fails for any of the "true" dimensions. With this test file: \starttext \vrule width 1truein height 1pt depth 0pt\relax \vrule width 1in height 1pt depth

[NTG-context] "true" units in LuaMetaTeX

2022-10-27 Thread Max Chernoff via ntg-context
Hi Hans, The unit scanner in LuaMetaTeX fails for any of the "true" dimensions.  With this test file: \starttext \vrule width 1truein height 1pt depth 0pt\relax \vrule width 1in height 1pt depth 0pt\relax \stoptext I get this output: tex error &

[NTG-context] LuaMetaTeX insert nodes patch

2022-09-16 Thread Max Chernoff via ntg-context
Hi Hans, I see that you've released the LuaMetaTeX source code, yay! I'm really impressed with how easy it is to build, and with how quickly it builds. Can you please apply this patch to the LuaMetaTeX source code: diff

Re: [NTG-context] Accessing inserts from Lua in LuaMetaTeX

2022-08-15 Thread Max Chernoff via ntg-context
Hi Hans, > > First, how do I get an insert's class/type from the "insert" nodes on > > the page? With LuaTeX, the insert's class/type is the same as the > > subtype of the "ins" nodes, but the subtype of the "insert" nodes is > > always ze

Re: [NTG-context] Accessing inserts from Lua in LuaMetaTeX

2022-08-15 Thread Hans Hagen via ntg-context
On 8/15/2022 8:18 AM, Max Chernoff via ntg-context wrote: Hi all, I'm trying to manipulate some inserts from Lua in LuaMetaTeX, and I'm having some problems that I'm not having with LuaTeX. First, how do I get an insert's class/type from the "insert" nodes on the page? W

[NTG-context] Accessing inserts from Lua in LuaMetaTeX

2022-08-15 Thread Max Chernoff via ntg-context
Hi all, I'm trying to manipulate some inserts from Lua in LuaMetaTeX, and I'm having some problems that I'm not having with LuaTeX. First, how do I get an insert's class/type from the "insert" nodes on the page? With LuaTeX, the insert's class/type is the same as the subtype of the &

Re: [NTG-context] Mark IV or LuaMetaTeX?

2022-05-26 Thread Keith McKay via ntg-context
1. >> >> Name: LMTX >> >> % Here you need to use the Browse button to get to the mtxrun. On my mac >> it is the path to the directory tex which contains the file mtxrun as >> shown below. Yours may be different. Since mtxrun is an alias for >> luametatex

Re: [NTG-context] Mark IV or LuaMetaTeX?

2022-05-26 Thread Tommaso Gordini via ntg-context
X > > % Here you need to use the Browse button to get to the mtxrun. On my mac > it is the path to the directory tex which contains the file mtxrun as > shown below. Yours may be different. Since mtxrun is an alias for > luametatex it substitutes luametatex. I edited this to, mtxr

Re: [NTG-context] Mark IV or LuaMetaTeX?

2022-05-26 Thread Keith McKay via ntg-context
set this up on my mac mini M1. Name: LMTX % Here you need to use the Browse button to get to the mtxrun. On my mac it is the path to the directory tex  which contains the file mtxrun as shown below. Yours may be different. Since mtxrun is an alias for luametatex it substitutes luametatex. I edi

[NTG-context] Mark IV or LuaMetaTeX?

2022-05-26 Thread Tommaso Gordini via ntg-context
Hello list, forgive me if my question is too general and trivial and without a minimum code. In the current state of ConTeXt development, which engine do you recommend to use *definitively*? ConTeXt MkIV or LMTX? I use macOS 10.15.7, on which I have MacTeX-2022, ConTeXt Standalone and ConTeXt

Re: [NTG-context] Callbacks (and nodes) in LuaMetaTeX

2022-05-25 Thread Max Chernoff via ntg-context
Hi list, I haven't had any luck solving any of the issues from my previous email: [NTG-context] Callbacks in LuaMetaTeX https://mailman.ntg.nl/pipermail/ntg-context/2022/105566.html Admittedly, my problems are fairly obscure (and likely self-inflicted), but any suggestions would

[NTG-context] Callbacks in LuaMetaTeX

2022-05-01 Thread Max Chernoff via ntg-context
Hi list, I've been playing around with some of the Lua callbacks in LuaMetaTeX, and I have a few questions/comments. Context: I'm writing a Plain/LaTeX/ConTeXt module called "lua-widow-control" that uses Lua callbacks to automatically remove widows and orphans from documents. The re

Re: [NTG-context] Archlinux: updated BPKGBUILD for luametatex

2021-12-15 Thread Hans Hagen via ntg-context
On 12/15/2021 11:38 PM, Michal Vlasák via ntg-context wrote: On Wed Dec 15, 2021 at 9:32 PM CET, Aditya Mahajan via ntg-context wrote: Oops, sorry, I completely forgot to mention that indeed what I mention corresponds to the download link on the package page, which in general "shouldn't be"

Re: [NTG-context] Archlinux: updated BPKGBUILD for luametatex

2021-12-15 Thread Hans Hagen via ntg-context
are installed in the ArchLinux aur package for luametatex. https://aur.archlinux.org/packages/luametatex/ Earlier, I was just sym-linking to the modules installed by context-minimals-git package (which I also maintain). However, some packages there were out of date (in particular pgf/tikz

Re: [NTG-context] Archlinux: updated BPKGBUILD for luametatex

2021-12-15 Thread Michal Vlasák via ntg-context
On Wed Dec 15, 2021 at 9:32 PM CET, Aditya Mahajan via ntg-context wrote: > > > i never came to a 'download option' because it was ot clear where to > > > download from .. are there zips? > > > > Not sure if it's for every package, but should be just > > > > "http://mirrors.ctan.org/; ..

Re: [NTG-context] Archlinux: updated BPKGBUILD for luametatex

2021-12-15 Thread Joseph Wright via ntg-context
On 15/12/2021 20:32, Aditya Mahajan via ntg-context wrote: This corresponds the "Download" link on the CTAN page of each package, but unfortunately, is not always in TDS format. For example, for pgf (which is locate at /graphics/pgf/base), we have

Re: [NTG-context] Archlinux: updated BPKGBUILD for luametatex

2021-12-15 Thread Aditya Mahajan via ntg-context
stalled in the ArchLinux aur package > > > for luametatex. > > > > > > https://aur.archlinux.org/packages/luametatex/ > > > > > > Earlier, I was just sym-linking to the modules installed by > > > context-minimals-git package (which I al

Re: [NTG-context] Archlinux: updated BPKGBUILD for luametatex

2021-12-15 Thread Michal Vlasák via ntg-context
On Wed Dec 15, 2021 at 7:28 PM CET, Hans Hagen via ntg-context wrote: > On 12/15/2021 6:22 PM, Aditya Mahajan via ntg-context wrote: > > Hi all, > > > > I am changing the way modules are installed in the ArchLinux aur package > > for luametatex. > > >

Re: [NTG-context] Archlinux: updated BPKGBUILD for luametatex

2021-12-15 Thread kaddour kardio via ntg-context
Great  thank you again Aditya Le mer. 15 déc. 2021 à 19:29, Hans Hagen via ntg-context a écrit : > On 12/15/2021 6:22 PM, Aditya Mahajan via ntg-context wrote: > > Hi all, > > > > I am changing the way modules are installed in the ArchLinux aur package > for l

Re: [NTG-context] Archlinux: updated BPKGBUILD for luametatex

2021-12-15 Thread Hans Hagen via ntg-context
On 12/15/2021 6:22 PM, Aditya Mahajan via ntg-context wrote: Hi all, I am changing the way modules are installed in the ArchLinux aur package for luametatex. https://aur.archlinux.org/packages/luametatex/ Earlier, I was just sym-linking to the modules installed by context-minimals-git

[NTG-context] Archlinux: updated BPKGBUILD for luametatex

2021-12-15 Thread Aditya Mahajan via ntg-context
Hi all, I am changing the way modules are installed in the ArchLinux aur package for luametatex. https://aur.archlinux.org/packages/luametatex/ Earlier, I was just sym-linking to the modules installed by context-minimals-git package (which I also maintain). However, some packages there were

Re: [NTG-context] Influence location of luametatex-cache

2021-11-29 Thread Marco Patzer via ntg-context
On Mon, 29 Nov 2021 12:07:51 +0100 Henning Hraban Ramm via ntg-context wrote: > > How to influence the location of the cache directory? > > Try to set TEXMFCACHE That's it. Thanks Peter and Henning. Marco ___ If

Re: [NTG-context] Influence location of luametatex-cache

2021-11-29 Thread Peter Münster via ntg-context
On Mon, Nov 29 2021, Marco Patzer via ntg-context wrote: > How to influence the location of the cache directory? Hi, I have the line "export TEXMFCACHE=~/.cache" in my ~/.profile and then context creates the directory ~/.cache/luametatex-cache. Cheers, --

Re: [NTG-context] Influence location of luametatex-cache

2021-11-29 Thread Henning Hraban Ramm via ntg-context
Am 29.11.21 um 11:16 schrieb Marco Patzer via ntg-context: Hi! when LMTX is installed in a read-only location (e.g. /opt) it creates a directory "luametatex-cache" in $HOME. How to influence the location of the cache directory? Try to set TEXMFCACHE see also: mtxrun --variabl

[NTG-context] Influence location of luametatex-cache

2021-11-29 Thread Marco Patzer via ntg-context
Hi! when LMTX is installed in a read-only location (e.g. /opt) it creates a directory "luametatex-cache" in $HOME. How to influence the location of the cache directory? Marco ___ If your question is o

Re: [NTG-context] Something smells rotten in the state of luametatex...

2021-10-08 Thread Hans Hagen via ntg-context
min(64,40), symbol mask: utf (τεχ) mkiv lua stats  > runtime: 2.775 seconds, 119 processed pages, 119 shipped pages, 42.883 pages/second system  | total runtime: 5.996 seconds When I compile the same document with luametatex, things slow down to a crawl: mkiv lua stats  > used eng

[NTG-context] Something smells rotten in the state of luametatex...

2021-10-08 Thread Thomas A. Schmitz via ntg-context
seconds, 119 processed pages, 119 shipped pages, 42.883 pages/second system | total runtime: 5.996 seconds When I compile the same document with luametatex, things slow down to a crawl: mkiv lua stats > used engine: luametatex version: 2.0921, functionality level: 20210903,

Re: [NTG-context] LuaMetaTEX as LaTeX to XHTML/ePub transpiler?

2021-09-11 Thread Hans Hagen via ntg-context
On 9/11/2021 1:49 PM, Hugh Fisher via ntg-context wrote: It may be unfair, but my impression is that TeX and typesetting / layout systems based on TeX can do more interesting things than say XML or Sphinx. Moving to a more "universal" markup format might broaden my options, but I don't want a

Re: [NTG-context] LuaMetaTEX as LaTeX to XHTML/ePub transpiler?

2021-09-11 Thread Hans Hagen via ntg-context
On 9/11/2021 1:19 PM, Hugh Fisher wrote: On Fri, 10 Sept 2021 at 21:47, Hans Hagen wrote: [ munch ] in this area there is nothing in luametatex that luatex can't do As in my earlier reply, I'm thinking about replacing Adobe Illustrator with Metapost, and LuaMetaTEX seems to have better

Re: [NTG-context] LuaMetaTEX as LaTeX to XHTML/ePub transpiler?

2021-09-11 Thread Hugh Fisher via ntg-context
Collating several suggestions into one: On Fri, 10 Sept 2021 at 21:26, Henning Hraban Ramm wrote: > Did you try pandoc? On Fri, 10 Sept 2021 at 21:47, Hans Hagen wrote: > you can consider coding your documents in xml and convert them to latex > and html .. neutral input so to say On Sat, 11

Re: [NTG-context] LuaMetaTEX as LaTeX to XHTML/ePub transpiler?

2021-09-11 Thread Hugh Fisher via ntg-context
On Fri, 10 Sept 2021 at 21:47, Hans Hagen wrote: > [ munch ] > > in this area there is nothing in luametatex that luatex can't do As in my earlier reply, I'm thinking about replacing Adobe Illustrator with Metapost, and LuaMetaTEX seems to have better integration? > > so, if y

Re: [NTG-context] LuaMetaTEX as LaTeX to XHTML/ePub transpiler?

2021-09-11 Thread Hugh Fisher via ntg-context
On Fri, 10 Sept 2021 at 21:26, Henning Hraban Ramm wrote: > > No. > > LuaMetaTeX is ConTeXt-only. > You would need a LaTeX -> ConTeXt conversion, and there is none. > Well I am thinking about switching to ConTeX/LuaMetaTEX anyway, because at the moment I draw vecto

Re: [NTG-context] LuaMetaTEX as LaTeX to XHTML/ePub transpiler?

2021-09-10 Thread Denis Maier via ntg-context
Freitag, 10. September 2021 17:35 > An: ntg-context@ntg.nl > Cc: Maier, Denis Christian (UB) ; > hugo.fis...@gmail.com > Betreff: Re: [NTG-context] LuaMetaTEX as LaTeX to XHTML/ePub transpiler? > > You may want to have a look at the lwarp package as an alternative to tex4ht. >

Re: [NTG-context] LuaMetaTEX as LaTeX to XHTML/ePub transpiler?

2021-09-10 Thread Denis Maier via ntg-context
r > Betreff: [NTG-context] LuaMetaTEX as LaTeX to XHTML/ePub transpiler? > > I have documents in LaTeX, and would like to generate XHTML (ePub) output > without going through an intermediate DVI or PDF step. > Markup to markup, translating or transpiling rather than typesetting. &g

Re: [NTG-context] LuaMetaTEX as LaTeX to XHTML/ePub transpiler?

2021-09-10 Thread Hans Hagen via ntg-context
(nil headers and footers) the resulting pdf can then be converted to html with pdftotex or something like that so, basically, you just typeset the html So (finally) my question: is LuaMetaTEX what I'm looking for? in this area there is nothing in luametatex that luatex can't do Yes

Re: [NTG-context] LuaMetaTEX as LaTeX to XHTML/ePub transpiler?

2021-09-10 Thread Henning Hraban Ramm via ntg-context
> Am 10.09.2021 um 13:13 schrieb Hugh Fisher via ntg-context > : > > So (finally) my question: is LuaMetaTEX what I'm looking for? No. LuaMetaTeX is ConTeXt-only. You would need a LaTeX -> ConTeXt conversion, and there is none. Did you try

[NTG-context] LuaMetaTEX as LaTeX to XHTML/ePub transpiler?

2021-09-10 Thread Hugh Fisher via ntg-context
text, then emits . Similarly there would be an implied lookup of \beginParagraph and \endParagraph which would emit and . Plain text just gets copied through unchanged. So (finally) my question: is LuaMetaTEX what I'm looking for? Yes is the answer I'm hoping for. And any guidance would be much

Re: [NTG-context] updating luametatex

2021-05-19 Thread Hans Hagen
On 5/19/2021 9:56 PM, Alan Bowen wrote: I seem to be stuck at ver. 209.08 (context ver. 2021.04.29). I downloaded context-osx-64.zip and made a clean install following the instructions for macOS on the wiki. context—version showed v. 2021.04.29 So I removed texmf cache and ran mtxrun

[NTG-context] updating luametatex

2021-05-19 Thread Alan Bowen
showed ver. 2021.04.29 when I ran sh install.sh again, the result was the same. The version installed was still 2021.04.29 But this time the log showed an error mtx-install | running: /Users/bowen1/Desktop/LuaMetaTeX/tex/texmf-osx-64/bin/mtxrun --generate lua error : startup file: ...owen1/Desktop

Re: [NTG-context] installing luametatex query

2021-05-03 Thread Hans Hagen
On 5/3/2021 5:58 PM, Alan Bowen wrote: I have re-installed the latest luametatex (macOS) following the directions on the wiki (https://wiki.contextgarden.net/Installing_ConTeXt_LMTX_on_MacOS <https://wiki.contextgarden.net/Installing_ConTeXt_LMTX_on_MacOS>) Though luametatex --version

[NTG-context] installing luametatex query

2021-05-03 Thread Alan Bowen
I have re-installed the latest luametatex (macOS) following the directions on the wiki ( https://wiki.contextgarden.net/Installing_ConTeXt_LMTX_on_MacOS) Though luametatex --version mtxrun --generate are successful, context --version context --make --all gets mtxrun | unknown script 'mtx

Re: [NTG-context] error with recent standalone (luametatex)

2021-03-05 Thread Hans Hagen
ications/LuaMetaTeX/tex/texmf-context/te..."]:1343: attempt to concatenate a boolean value (local 'v') I did a new upload that fixes is (had to do with 'nicer looking' logging). Hans - Hans H

Re: [NTG-context] error with recent standalone (luametatex)

2021-03-05 Thread Hans Hagen
ications/LuaMetaTeX/tex/texmf-context/te..."]:1343: attempt to concatenate a boolean value (local 'v') can you run on a shorter path so that we can see where? - Hans Hagen

[NTG-context] error with recent standalone (luametatex)

2021-03-05 Thread Alan Bowen
Files that ran well with ver ConTeXt ver: 2021.02.20 16:50 LMTX and earlier now fail with the following message: tex error > tex error on line 74 in file c_Review-0201-01_Bojowald.tex: lua error: run callback [36]: [string "/Applications/LuaMetaTeX/tex/texmf-context/te..."]:

[NTG-context] yesterday’s version of luametatex needed

2021-02-12 Thread Alan Bowen
I need to reinstall luametatex version 2.08.13. Is there a page somewhere describing how to do this? Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg

Re: [NTG-context] LuaMetaTeX: \hbox dir vs. direction

2020-12-18 Thread Hans Hagen
On 12/17/2020 11:48 AM, Henri Menke wrote: Dear Hans, In LuaMetaTeX the directional syntax for boxes \hbox dir TLT {...} is no longer supported. Currently this is necessary for PGF because certain things like shading have to always be typeset in TLT. Is there a simple workaround

[NTG-context] LuaMetaTeX: \hbox dir vs. direction

2020-12-17 Thread Henri Menke
Dear Hans, In LuaMetaTeX the directional syntax for boxes \hbox dir TLT {...} is no longer supported. Currently this is necessary for PGF because certain things like shading have to always be typeset in TLT. Is there a simple workaround? Cheers, Henri See also: https://github.com/pgf

[NTG-context] Uploaded LuaMetaTeX version

2020-12-04 Thread Rik Kabel
My update log says: 2020-12-04T11:32:59  ConTeXt updated from 2020.12.01T17:52 to 2020.12.03T19:02 2020-12-04T11:32:59  LuaMetaTeX downdated from 2.08.03 20201123 549 to 2.05.01 20200402 491 That is quite a change! On 12/4/2020 07:01, Hans Hagen wrote: On 12/4/2020 11:19 AM

[NTG-context] LuaMetaTex dereferences NULL pointer

2020-08-31 Thread Marcel Fabian Krüger
Hi, with the latest LuaMetaTeX upload (running on Linux x64), \normalunexpanded tries to write to address 0 and therefore segfaults: \normalunexpanded{abc} \starttext \stoptext ConTeXt fails with mtx-context | fatal error: return code: 139 The most interesting message from valgrind

Re: [NTG-context] \scantokens in luametatex

2020-08-14 Thread Marcel Fabian Krüger
Thank you for fixing this! On Thu, Aug 13, 2020 at 02:31:51PM +0200, Marcel Fabian Krüger wrote: > Hi, > > in the current luametatex upload, \scantokens (and also \scantextokens) > behave odd: They seem to act like \detokenize, except that spaces get > catcode other instead o

Re: [NTG-context] \scantokens in luametatex

2020-08-13 Thread Hans Hagen
On 8/13/2020 2:31 PM, Marcel Fabian Krüger wrote: in the current luametatex upload, \scantokens (and also \scantextokens) behave odd: They seem to act like \detokenize, except that spaces get catcode other instead of catcode space: \starttext \edef\abc{\scantokens{\relax}} \abc \edef\abc

[NTG-context] \scantokens in luametatex

2020-08-13 Thread Marcel Fabian Krüger
Hi, in the current luametatex upload, \scantokens (and also \scantextokens) behave odd: They seem to act like \detokenize, except that spaces get catcode other instead of catcode space: \starttext \edef\abc{\scantokens{\relax}} \abc \edef\abc{\scantextokens{\relax}} \abc \stoptext used

Re: [NTG-context] \fontdimen in LuaMetaTeX

2020-08-04 Thread Hans Hagen
On 8/3/2020 7:57 PM, Marcel Fabian Krüger wrote: Hi, recent LuaMetaTeX versions no longer automatically resize the fontdimen arrays on assignments. indeed, using font dimens for other purposes than fonts is pre-etex hackery that (c|sh)ould have been abandoned decades ago Is there a way

[NTG-context] \fontdimen in LuaMetaTeX

2020-08-03 Thread Marcel Fabian Krüger
Hi, recent LuaMetaTeX versions no longer automatically resize the fontdimen arrays on assignments. Is there a way to manually resize them or is it necessary to reload a patched font you want more fontdimens? Also, there is an issue with the error message (I guess) for font.setfontdimen

Re: [NTG-context] cannot reload font index after luametatex update

2020-08-02 Thread kaddour kardio
ur kardio schrieb am 02.08.2020 um 11:02: > > Hi, i am running the latest luametatex 2.07.2 from [aur] repos in my > > archlinux machine, i got this error when trying to update my font lists > > > > (lmtx) ➜ ~ mtxrun --script fonts --reload > >

  1   2   >